<form class="layui-form modal-form-box" action="__SELF__" data-auto="true" method="post">

    <div class="layui-form-item">
        <label class="layui-form-label">任务进度</label>
        <div class="layui-input-block">
            <input pattern="^(\d|[1-9]\d|100)(\.\d{1,2})?$" type="text" name="progress" value="{$vo.progress}" placeholder="请输入任务进度" required title="请输入正确的任务进度" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-block">
            <span class="color-red">任务进度可以输入0~100的数字，小数点后可输2位</span>
        </div>
    </div>

    <div class="layui-form-item text-center">
        <input type="hidden" name="id" value="{$Think.get.id|default=''}">
        <button class="layui-btn">保存数据</button>
        <button class="layui-btn layui-btn-primary" type="button" data-close>取消编辑</button>
    </div>
</form>